<div style="background-color: #ccc; padding: 10px; border: solid 1px #999">
<?php

echo form_open('login/aut');
    echo '<div style="background-color:#fff; padding:10px">';
        echo '<div style="float:left; margin-right:30px; border-right:solid 1px #ccc; padding:20px">';
        echo validation_errors();
        if($this->session->flashdata('logado')){
            echo '<b>'.$this->session->flashdata('logado').'</b><br />';
        }
        
        echo form_label('Login - Email').' '.form_input('login', set_value('login')).'<br />';
        echo form_label('Senha').' '.form_password('senha', set_value('senha')).'<br />';
        echo form_submit('entrar','Entrar', "class ='btn btn_azul' style='float:right'");
        echo '</div>';
        echo '<div style="float: left; margin-top:30px"><span class="btn btn_azul">'. anchor('pessoa/cadastro','Cadastre-se','style="color:#fff"').'</span></div>';
        echo '<div style="clear: both"></div>';
    echo '</div>';
echo form_close();
?>

    
</div>
